package com.afkx.oop.demo8;

/**
 * @ClassName 门类
 * @Description TODO
 * @Author Kx
 * @Date 2025/3/4 13:31
 * @Version 1.0
 */
public abstract class Door {
    private String name;

    public String getName() {
        return name;
    }

    public Door(String name){
        this.name = name;
    }
    public abstract void open();
    public abstract void close();
}
